package com.aaa.dao;

import com.aaa.entity.Author;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AuthorMapper {
    List<Author> find();
    int add(Author author);
    int update(Author author);
    int delete(Integer id);
    List<Author> findpage(Integer pageSize,Integer pageNum);
    Integer findcount();
}
